<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <TITLE>3WCoffee</TITLE>
        <META content="text/html; charset=utf-8" http-equiv=Content-Type>
        <META content="no-cache" http-equiv="Cache-Control">
        <META name="viewport" content="width=device-width; initial-scale=1.0; minimum-scale=1.0; maximum-scale=2.0">
        <link href="css/sp/css.css" rel="stylesheet" type="text/css" />
        <META name="MobileOptimized" content=240>
    </head>
    <body>
    <body>
        <div class="logo">
            <img src="images/sp/logo.jpg" alt="logo"/>
        </div>
        <div class="stdnav">
            <table width="100%">
                <tr>
                    <td width=60%>
#if ($user)
${user.name}
#end
                    </td>
                    <td align="right">
#if ($user)
                        <a href="checkout.sf"><img src="images/sp/exit.png" style="height:24px; magin-top: 0px; padding-top: 0px;"/></a>
#else
						<a href="checkin.sf"><img src="images/sp/checkin.png" style="height:24px; magin-top: 0px; padding-top: 0px;"/></a>
#end
                    </td>
                </tr>
            </table>
        </div>
        <div class="banner" style="width:100%;" align="center">
            <img src="images/sp/banner.jpg" alt="banner" align="center"/>
        </div>
        <div class="box">
            <div class="bi">
                <div class="bt">
                    <div>
                    </div>
                </div>
                <table style="width: 100%; background: white;">
                    #set ($cnt = 0)
                    #foreach ($item in $news)
                    #if ($cnt >= 3)
                    #break
                    #end
                    <tr height="43">
                        <td width="40">
                            <img src="images/sp/kafeibei_icon.png" width="16" height="13" hspace=="6"/>
                        </td>
                        <td>
                            <a href="sn.sf?id=${item.id}">${item.title}</a>
                        </td>
                    </tr>
                    #set ($cnt = $cnt + 1)
                    #end
                </table>
                <div class="bb">
                    <div>
                    </div>
                </div>
            </div>
        </div>
        <div class="function" style="width:100%;">
            <table width="100%">
                <tr>
                    <td align="center">
                        <a href="checkin.sf"><img src="images/sp/qiandao_bt.jpg" alt="签到" border="0" /></a>
                    </td>
                    <td align="center">
                        <a href="a/order.sf"><img src="images/sp/diancan_bt.jpg" alt="点餐" border="0" /></a>
                    </td>
                </tr>
            </table>
        </div>
    </body>
</html>